project(codebase C)

cmake_minimum_required(VERSION 2.8)

include_directories(structure sort lib)

set(sort sort/junior.c sort/merge.c sort/quick.c sort/heap.c structure/priority_queue.c)

add_executable(sort ${sort} test/sort.c)

set(utils lib/try_catch.c)

add_executable(utils ${utils} test/lib.c)

set(structure structure/list.c structure/priority_queue.c structure/stack.c)

add_executable(structure ${structure} test/structure.c)